<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0050)http://www.testin.cn/portal.action?op=Portal.index -->
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" async="" src="/js/ga.js"></script>
		<script language="Javascript"></script>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta property="wb:webmaster" content="66ae20ef6f9db8c1">
		<meta http-equiv="cache-control" content="no-store">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="expires" content="0">

		<!-- jquery css js  -->
		<script src="/js/jquery/jquery-1.7.1.min.js" type="text/javascript"></script>
		<script language="Javascript" type="text/javascript">
			function trim (str) {
				var reg = /^\s+|\s+$/g;
				return str.replace(reg, "");
			}
		</script>

		<!-- theme css -->
		<link href="/css/reset.css" rel="stylesheet" type="text/css">
		<link href="/css/common.css" rel="stylesheet" type="text/css">
		

		<!-- image path -->
		 
		
		<!-- set i18n -->

		<script type="text/javascript">
			function addFastAdapt() {
				window.location = "http://realauto.testin.cn/apps/realauto.action?op=RealAuto.appsCreate";
			}
		</script>
		<script type="text/javascript" src="/js/counter.js"></script>
		<title>移动APP真机云测试平台</title>
	</head>

	<body>	
		<div class="header_top">
			<div class="user_info">
				<span>
					<?php 
						// MVC原则其实是不允许 view 直接操作 model
						$ci = &get_instance();
						$ci->load->model('common/Usersession_model');
						$user = $ci->Usersession_model->getUser();
						if(empty($user)):
					?>
				        <a class="dl" href="/user/login">登录</a>
				        <a class="zc" href="/user/register">注册</a>
			        <?php else: ?>
			        	<?php echo '欢迎回来，' . $user['email'];?>
						<em>|</em>
						<a href="/user/logout">退出</a>
					<?php endif?>
				</span>
			</div>
		</div>
   
	   <div class="nav">
			<h1 class="logo">
				<a href="<?php echo base_url();?>" title="返回首页">返回首页</a>
			</h1>
			<ul class="main_nav">
				<li>
					 <a href="http://www.testin.cn/portal.action?op=Portal.realauto">适配测试</a>
				</li>
				<li>
					<a href="http://www.testin.cn/portal.action?op=Portal.realmonitor">智能监控</a>
				</li>
				<li>
					<a href="<?php echo base_url('realtest/testList')?>">体验测试</a>
				</li>
				<li>
					<a href="http://sns.testin.cn/" title="支持论坛">支持论坛</a>
				</li>
				<li>
					<a href="http://sns.testin.cn/forum.php?mod=post&action=newthread&fid=84">我要建议</a>
				</li>
				<li>
					<a href="http://real.testin.cn/realauto.action?op=Activity.vipAdapt">申请企业版测试</a>
				</li>
			</ul>
		</div>